import time
from selenium import webdriver

mobileEmulation = {'deviceName':'iPhone XR'}
options = webdriver.ChromeOptions()
options.add_experimental_option('mobileEmulation',mobileEmulation)
driver = webdriver.Chrome(options=options)
driver.get('https://www.baidu.com')
time.sleep(2)
exit()